﻿// /////////////////////////////////// 
//  
//  
//      WiseLink CCF2.0 
//     (c)Copyright 2001-2010 WiseLink Xiaojun (David) Chen 
//        Authored and Owned Xiaojun (David) Chen 
//        All Right Reserved
//  
// /////////////////////////////////// 

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;

namespace WiseLink.RDS.Model
{
    public class CustomerViewModel
    {
        public int CustomerID { get; set; }
        public int DeviceID { get; set; }
        public int? VehicleTypeID { get; set; }
        [Required]
        public string CustomerNo { get; set; }
        [Required]
        public string Name { get; set; }
        [Required]
        public string PrimaryPhone { get; set; }
        public string SecondaryPhone { get; set; }
        public string ThirdaryPhone { get; set; }
        public string IdentityNo { get; set; }
        public string Gender { get; set; }

        [Required]
        [ReadOnly(true)]
        public string VehicleModel { get; set; }

        [DataType(DataType.Date)]
        public DateTime? VehiclePurchaseDate { get; set; }
        public string VehicleLicensePlate { get; set; }
        public string EngineNo { get; set; }
        public string ChassiNo { get; set; }
        public string PurchaseRegion { get; set; }
        [Required]
        public int? CurrentMileage { get; set; }
    }
}
